package com.jims.master.modules.base.netHosptial.entity;


import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;


/**
 * 配置序列号范围表Entity
 * @author xueyx
 * @version 2017-03-16
 */
public class NetHisSerial extends DataEntity<NetHisSerial> {

	private static final long serialVersionUID = 1L;
	private String type;		// type
	private String name;		// name
	private String min;		// min
	private String max;		// max
	private String value;		// value

	public NetHisSerial() {
		super();
	}

	public NetHisSerial(String id){
		super(id);
	}

	@Length(min=0, max=10, message="type长度必须介于 0 和 10 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@Length(min=0, max=50, message="name长度必须介于 0 和 50 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=50, message="min长度必须介于 0 和 50 之间")
	public String getMin() {
		return min;
	}

	public void setMin(String min) {
		this.min = min;
	}
	
	@Length(min=0, max=50, message="max长度必须介于 0 和 50 之间")
	public String getMax() {
		return max;
	}

	public void setMax(String max) {
		this.max = max;
	}
	
	@Length(min=0, max=50, message="value长度必须介于 0 和 50 之间")
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
}